package com.zbj.hystrix.provider;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * HystrixProviderController
 *
 * @author weigang
 * @create 2019-08-09
 **/
@RestController
@RequestMapping("/hystrix/provider")
public class HystrixProviderController {

    @GetMapping("/hello")
    public String hello(String world) {
        return "hello " + world;
    }
}